{template header}
<h4 style="padding-left:10px;;">城市数据，按跑步降序 </h4>
<div class="bs-docs-example pt-20" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>排名</th>
                <th>城市</th>
                <th>天气</th>
                <th>温度</th>
                <th>pm2.5</th>
                <th>昨天跑步人数</th>
                <th>前天跑步人数</th>
                <th>趋势</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {loop $yesterdayReport $index $value}
            <tr>
                <td>{eval echo $index}</td>
                <td>{$value['city']}</td>
                <td>{$value['weather']}</td>
                <td>{$value['temperature']}</td>
                <td>{$value['pm25']}</td>
                <td>{$value['runningData_city']}</td>
                <td>{$value['old_runningData_city']}</td>
                <td>{$value['runningData_thread']}%</td>
                <td><a href="?c=admin&a=cityReport&city={$value['city']}">详细</a></td>
            </tr>
            {/loop}
        </tbody>
    </table>
</div>
{template footer}